home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.igs.net!usenet
- From: kkalb@igs.net (Kevin Kalbfleisch)
- Newsgroups: comp.lang.c++
- Subject: Nested TPopupMenu - how to?
- Date: Mon, 22 Jan 1996 04:44:41 GMT
- Organization: IGS - Information Gateway Services
- Message-ID: <4dv4ej$obr@nntp.igs.net>
- NNTP-Posting-Host: igs2-06.igs.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- I am writing a program that dynamically creates a TPopup menu which
- displays information dependant on where the mouse was clicked.
- Setting up a single leve is easy:
-
- char temp[30];
-
- if( UnitPopupMenu )
- delete UnitPopupMenu;
- UnitPopupMenu = new TPopupMenu();
- strcpy(temp,"Profile ID#: ");
- strcat(temp, aUnit->getUnitID());
- UnitPopupMenu->AppendMenu(MF_STRING, CM_UNITID, temp);
-
- Do I create a new popup for each additional level? If so, how do I
- add it?
-
- Any help you could provide would be greatly appreciated..
-
- BTW, I'm using BC++ 4.5 with OWL 2.x.
-
- Kevin
-
-
-